package cn.xiongxf.service;

import cn.xiongxf.domain.PayFlow;
import cn.xiongxf.domain.PayOrder;
import cn.xiongxf.dto.AlipayNotifyDTO;
import cn.xiongxf.dto.PayParamDTO;
import com.baomidou.mybatisplus.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xiongxiaofu
 * @since 2022-08-28
 */
public interface IPayOrderService extends IService<PayOrder> {

    String apply(PayParamDTO dto);

    String alipayNotify(AlipayNotifyDTO dto);

    void updateOrderAndFlow(PayOrder payOrder, PayFlow payFlow);

    void cancelOrder(String orderNo);
}

